package com.by.goods.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.by.goods.entity.Spu;
import com.by.goods.entity.SpuDetail;

public interface SpuService extends IService<Spu> {



    /**
     * 分页查询商品列表(自己写的)
     * @param
     * @return
     */
    IPage<Spu> querySpuList(int pageNum, int pageSize);

    /**
     * 根据id查询商品详情
     * @param spuId
     * @return
     */
    SpuDetail queryById(int spuId);
}
